package com.sugar.queryinfo.module.business.controller.admin.apitypeinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - API类型 Response VO")
@Data
public class ApiTypeInfoSimpleRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2775")
    private Long id;

    @Schema(description = "接口Code", requiredMode = Schema.RequiredMode.REQUIRED, example = "2775")
    private String code;

    @Schema(description = "API名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    private String name;

    @Schema(description = "API单次调用价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "10687")
    private BigDecimal price;
}
